<template>
  <div class="about">
    <h1>This is an about page</h1>
    过滤器的使用：{{123213123 | toThousandFilter}}
  </div>
</template>
<script>
import { mapActions } from 'vuex'
import { signature } from '@/http/rainstoneApi'

export default {
  name: 'About',
  data:function () {
    return {
      data:''
    }
  },
  methods:{
    ...mapActions({
      testChange: 'app/testChange'
    }),
    test(){
      // http请求
      signature({appid:'wx3c3514158b7274f7',secret:'679caa78207bad3a229e8c64705a3f5a',signUrl:'http://localhost:8080/wxPublic/'});
      console.log(process.env.NODE_ENV)
    }
  },
  created() {
    this.test();
    console.log(this.$store.getters.testValue)
    this.testChange('4567890')
    console.log(this.$store.getters.testValue)
  }
} // -> 1
</script>
